package com.aaa.doctor.feign;

import com.aaa.entity.RegisteredItem;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;


import java.util.List;

@FeignClient(value = "his-open-system")
public interface ApiRegisteredFeign {

    /**
     * 远程调用system服务
     * 查询所有挂号项目信息
     * @return
     */
    @GetMapping("system/registered/list")
    public List<RegisteredItem> getList();

}
